﻿/*using System;
using RECT = PNTSystemClass.Types.tagRECT;
using UID = PNTSystemClass.Types.tagUID;
using Exception = PNTSystemClass.Types.tagETN;

namespace PNTSystemClass.Types
{
    class CString
    {
        public void SetValue(string value)
        {
            this.value = value.ToCharArray();
            return;
        }

        public const char MaxValue = '\uffff';
        public const Char MinValue = '\x0000';

        char[] value;


        public int Length 
        {
            private set 
            { 
            }
            get
            {
                int len = 0;
                for (int i = 0; i < value.Length; i++)
                {
                    len++;
                }
                return len;
            }
        }
    }

    struct tagRECT
    {
        int x;
        int y;
        int bottom;
    };

    struct tagUID
    {
        byte FID;
        short MID;
        short TUID;
        byte RID;
    };

    struct tagETN
    {
        string Message;
        string Score;
        UID UID;
        System.Exception expi;
        string ExpName;
    };

    struct tagMSG
    {
        string Message;
        DateTime MessageTime;
        private int GetMSGLength()
        {
            return Message.Length;
        }
        public static int GetMessageLength(tagMSG mSG)
        {
            if(mSG.GetMSGLength() != 0 && mSG.GetMSGLength() > 0)
            {
                return mSG.GetMSGLength();
            }
            else
            {
                return -1;
            }
        }
    }

}
*/
